package com.cognizant.ams.bean;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
//import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//@Data
public class Lastatsegment extends LastatsegmentKey {
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期" ,orderNum = "2",exportFormat = "yyyy-MM-dd HH:mm:ss",importFormat = "yyyy-MM-dd HH:mm:ss")//importFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startdate;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期" ,orderNum = "5",exportFormat = "yyyy-MM-dd HH:mm:ss",importFormat = "yyyy-MM-dd HH:mm:ss")//importFormat = "yyyy-MM-dd HH:mm:ss")
    private Date enddate;

    @Excel(name = "???" ,orderNum = "6")
    private String areatype;

    public Date getStartdate() {
        return startdate;
    }

    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    public Date getEnddate() {
        return enddate;
    }

    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    public String getAreatype() {
        return areatype;
    }

    public void setAreatype(String areatype) {
        this.areatype = areatype;
    }
}